<!DOCTYPE html>

<html xmlns:th="http://www.thymeleaf.org">

<head th:fragment="layui">
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="apple-touch-icon" sizes="76x76" href="/images/logo.png" />
    <link rel="icon" href="/images/logo.png" type="image/x-icon"/>
    <link rel="stylesheet" href="/plugins/layui/css/layui.css" media="all" />
    <link rel="stylesheet" href="/plugins/font-awesome/css/font-awesome.min.css" media="all" />
    <link rel="stylesheet" href="/build/css/app.css" media="all" />
    <link rel="stylesheet" href="/build/css/themes/default.css" media="all" id="skin" kit-skin />

    <script src="/plugins/layui/layui.js"></script>
</head>

<head th:fragment="layui-ADES">
    <meta charset="utf-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <link rel="stylesheet" href="/plugins/font-awesome/css/font-awesome.min.css" media="all"/>
    <link rel="stylesheet" href="/build/css/app.css" media="all"/>
    <link rel="stylesheet" href="/build/css/themes/default.css"
          media="all" id="skin" kit-skin/>
    <link rel="stylesheet" href="/build/css/common.css"/>
    <link rel="stylesheet" href="/plugins/layui/css/layui.css"
          media="all"/>
    <script type="text/javascript">
        var request = {
            QueryString: function (val) {
                var uri = window.location.search;
                var re = new RegExp("" + val + "\=([^\&\?]*)", "ig");
                return ((uri.match(re)) ? (uri.match(re)[0].substr(val.length + 1)) : null);
            },
            QueryStrings: function () {
                var uri = window.location.search;
                var re = /\w*\=([^\&\?]*)/ig;
                var retval = [];
                while ((arr = re.exec(uri)) != null)
                    retval.push(arr[0]);
                return retval;
            },
            setQuery: function (val1, val2) {
                var a = this.QueryStrings();
                var retval = "";
                var seted = false;
                var re = new RegExp("^" + val1 + "\=([^\&\?]*)$", "ig");
                for (var i = 0; i < a.length; i++) {
                    if (re.test(a[i])) {
                        seted = true;
                        a[i] = val1 + "=" + val2;
                    }
                }
                retval = a.join("&");
                return "?" + retval + (seted ? "" : (retval ? "&" : "") + val1 + "=" + val2);
            }
        }
    </script>
    <style type="text/css">
        .movetop {
            color: red;
        }
    </style>
</head>

</html>